package self_test;

public class Frodo extends Hobbit{
	public static void main (String[] args) {
		short myGold = 7;
		Frodo f = new Frodo();
		System.out.println(f.countGold(myGold, 6));
	}
}

class Hobbit {
	 int countGold(int x, int y) {return x+y;}
}